Quick Navigation All projects Hardware Links Top projectsAlan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector GitHubAlanFromJapan Contact me![]() Who's Alan?Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
eagle grid wiring fixerLast update: Sat Jan 10 23:04:53 2026
PresentationPrinciple A small python 2.x program that takes in an Eagle .BRD file and does some matching of the wires and air wires. Because sometimes your grid and parts don't perfectly line up (shoot me, I use the metric system) you end up with trace the should match the airwires, but don't. And there's no real easy way to fix that. So I made a script that works reasonably well. Notice: do make a backup of your .brd before you run the script, in case. Points of interrestLogic is the following: for each wire not already connected to a pad, the program searches for a matching airwire. "Matching" is defined by finding an airwire whose start and end matching distance withing a given margin of error (delta). Once it finds it, it merges both wires by replacing the content of the airwire with the wire segments and removing the airwire data (layer 19).Possible improvements: ImplementationSource codeGitHub as usual https://github.com/AlanFromJapan/alanarduinotools/tree/master/Python/EagleGridWiringFixerPictures![]() Before: a spaghetti plate of yellow airwires ![]() After: 89% matched, much much easier to continue working now :) LinksHelpful sourcesInspiration |
|
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2026]) |
|